package com.data.modules.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.data.modules.health.entity.HlMainDetail;
import com.data.modules.health.entity.HlTestMain;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 测试主表
 * @Author: jeecg-boot
 * @Date:   2023-07-13
 * @Version: V1.0
 */
public interface IHlTestMainService extends IService<HlTestMain> {

	/**
	 * 添加一对多
	 *
	 */
	public void saveMain(HlTestMain hlTestMain,List<HlMainDetail> hlMainDetailList) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(HlTestMain hlTestMain,List<HlMainDetail> hlMainDetailList);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

}
